<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
    <meta http-equiv="Content-Type" content="text/html;charset=UTF-8"/>
    <title>商品列表</title>
   	<link rel="stylesheet" type="text/css" href="__STATIC__/hdjs/hdjs.css"/>
</head>
<body>
<div class="wrap">
	<form action="" method="post">
		    <table class="hd-table hd-table-list">
        <thead>
        <tr>
            <td width="50">id</td>
        			<?php foreach($nameData as $v): ?>
        				<td>
        						<?php echo $v['propertyname']; ?>
        				</td>
        			<?php endforeach ?>
            <td width="180">库存</td>
            <td width="180">货号</td>
            <td width="150">操作</td>
        </tr>
        </thead>
        <tbody>

        			<!--添加货品-->
        		<tr>
        			<td>编辑货品</td>
        			<?php foreach($attrData as $v): ?>
        				<td>
        					<select  name="gsid[]">
        						<option value="0">请选择</option>
        						<?php foreach($v as $value): ?>
        							
        						<option value="{$value.id}">{$value.gavalue}</option>
        						<?php endforeach ?>
        					</select>
        				</td>
        			<?php endforeach ?>
        			<td>
        				<input type="text" name="kucun" id="" />
        			</td>
        			<td>
        				<input type="text" name="itemnumber" id="" />
        			</td>
        			<td>
        				<input type="hidden" name="gid" value="{$hd.get.gid}"/>
        				<input type="hidden" name="id" value="{$hd.get.id}"/>
        				<input type="submit" value="提交" />
        			</td>
        		</tr>
        </tbody>
    </table>
	</form>

    <div class="page_hdjob">
      
    </div>
</div>

</body>
</html>


